#pragma once
#include "tankbase.h"
#include "imotorx.h"
class CJQTank :
	public CTankBase
{
public:
	CJQTank(void);
	~CJQTank(void);
	void ShangLiao();
	void StopShangLiao();
	void XieLiao();
	void XieLiaoMax();
	void StopXieLiao();
	void SetShangLiaoFa(int index);
	void SetXieLiaoFa(int index);
	void GoNextStep();
	bool IsXieLiaoing();
	void TryShangLiao();
	void SetXieLiaoing(bool x);
	bool IsManClose();
	void SetManClose(bool x);
public:
	int iXieLiaoPos;
	CiMotorX *pBeng;
	int iSHTankIndex;
	int iSndSHTankIndex;
private:
	int _Fa_ShangLiao;
	bool _bIsXieLiaoing;
	int _Fa_XieLiao;
	bool _bManClose;
};
